<template>
  <div class="goods-title">
    {{ title }}
    <span class="more" v-if="show">更多>></span>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
    show: Boolean
  }
};
</script>

<style lang="scss" scoped>
.goods-title {
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid $border_color;
  margin-bottom: 5px;
  .more {
    color: cadetblue;
    cursor: pointer;
    font-size: 12px;
    margin-left: 10px;
    &:hover {
      text-decoration: underline;
    }
  }
}
</style>
